﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AttackRange : MonoBehaviour {

	public void SetAttackRange(float range,Vector3 pos){
		transform.position=pos;
		transform.localScale=Vector3.one*0.1f*range;
		if(!gameObject.activeSelf){
			gameObject.SetActive(true);
		}
	}
	public void Hide(){
		gameObject.SetActive(false);
	}
}
